<?php
$password = $this->formPassword('password', '', array());
$password2 = $this->formPassword('password2', '', array());
$password3 = $this->formPassword('password3', '', array());
$btnButton = $this->formSubmit('submit', 'Cập nhật', array('class'=>'button'));
?>

<div class="content">
	<?php foreach($this->notifies as $notify): ?>
		<div class="message"><?php echo $notify ?></div>
	<?php endforeach ?>
    <form id="login-form" action="<?php echo $this->url(array("module" => "user", "controller" => "account", "action" => "changepasspost")) ?>" method="post">
        <?php foreach ($this->errors as $error): ?>
            <div class="message"><?php echo $error ?></div>
        <?php endforeach; ?>            
            <table style="width: 100%">
                <tr>
                    <td style="width: 20%"><?php echo 'Mật khẩu cũ' ?></td>
                    <td><?php echo $password ?></td>
                </tr>
                <tr>
                    <td style="width: 20%"><?php echo 'Mật khẩu mới' ?></td>
                    <td><?php echo $password2 ?></td>
                </tr>
                <tr>
                    <td style="width: 20%"><?php echo 'Xác nhận' ?></td>
                    <td><?php echo $password3 ?></td>
                </tr>
                <tr>
                    <td style="width: 20%">&nbsp;</td>
                    <td><?php echo $btnButton ?></td>
            </tr>
        </table>
    </form>
</div>
